package day2.Test1;

public class Test {
    public static void main(String[] args) {
        Circle circle = new Circle("圆",2);
        System.out.println("面积为："+circle.getArea());
        System.out.println(circle);
        Shape shape = new Circle("圆",2);
        System.out.println("面积为："+ shape.getArea());

    }
}
